package main

import "fmt"

// Author : CSR丶WARRIOR
// Time ： 2020/10/8  10:33
// TOOLS : GoLand
// FILENAME : floatType.go
// STATEMENT: 浮点类型

func main() {
	var a float64 = 133.2
	var b float64 = 13.2555533
	fmt.Printf("%.f, %.3f\n", a, b) //133, 13.256
	c := 12.5
	fmt.Printf("类型是：%T", c) //类型是：float64
}
